/**
 * Created by xjweng on 2017/1/17.
 */
angular.module('core.phone').
    factory('Phone',['$resource',function ($resource) {
    return $resource('phones/:phoneId.json',{},{
        query: {
            method: 'GET',
            params: {phoneId: 'phones'},
            isArray: true
        }
    })
}
])